from django.conf.urls import patterns, include, url

# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()

urlpatterns = patterns('',
    # Examples:
    url(r'^$', 'nsgwsl.views.index'),
    # url(r'^nsgwsl/', include('nsgwsl.foo.urls')),
    url(r'^Lab4/', 'Lab4.views.index'),
    url(r'^Lab4-get/', 'Lab4.views.get'),

    # This for Lab 5
    url(r'^Lab5/badpassword', 'Lab5.views.badpasswords'),
    url(r'^Lab5/policy', 'Lab5.views.policy'),
    url(r'^Lab5/noisymessages', 'Lab5.views.noisymessages'),
    url(r'^Lab5/changepassword', 'Lab5.views.changepassword'),
    url(r'^Lab5/rememberme1', 'Lab5.views.rememberme1'),
    url(r'^Lab5/rememberme2', 'Lab5.views.rememberme2'),
    url(r'^Lab5/incompletevalidation', 'Lab5.views.incompletevalidation'),
    url(r'^Lab5/failopen', 'Lab5.views.failopen'),
    url(r'^Lab5/multi1', 'Lab5.views.multi1'),
    url(r'^Lab5/multi2', 'Lab5.views.multi2'),
    url(r'^Lab5/multi3', 'Lab5.views.multi3'),

    # This is for Lab 6
    url(r'^Lab6/weaktoken1', 'Lab6.views.weaktoken1'),
    url(r'^Lab6/weaktoken2', 'Lab6.views.weaktoken2'),
    url(r'^Lab6/timetoken', 'Lab6.views.timetoken'),
    url(r'^Lab6/weakrandom', 'Lab6.views.weakrandom'),

    # This is for Lab 7
    url(r'^Lab7/unprotected/$', 'Lab7.views.unprotected'),
    url(r'^Lab7/unprotected/admin/$', 'Lab7.views.unprotectedAdmin'),
    url(r'^Lab7/unprotected/menu/supersecret/a0d21da/destoryallhumansv212b.php', 'Lab7.views.unprotectedSuperAdmin'),
    url(r'^Lab7/indentifier/$', 'Lab7.views.indentifier'),
    url(r'^Lab7/staticfiles/$', 'Lab7.views.staticfiles'),
    url(r'^Lab7/parameter/$', 'Lab7.views.parameter'),

    # Uncomment the admin/doc line below to enable admin documentation:
    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    # url(r'^admin/', include(admin.site.urls)),
)
